<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2019/2/22
  Time: 17:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="row">
    <div class="panel-body" id="pageModel">
        <div class="table_items">
            当前第<span class="badge">{{curPageNo}}</span>页，共有<span class="badge">{{totalPages}}</span>页，总记录数<span class="badge">{{totalItems}}</span>条。
        </div>
        <nav aria-label="Page navigation" class="pull-right" v-if="totalPages>1">
            <ul class="pagination">
                <li v-if="curPageNo>1" ><a href="javascript:void(0)" @click="btnClick(1)">首页</a></li>
                    <li class="disabled" v-if ="curPageNo>1">
                        <a href="javascript:void(0)" @click="btnClick(curPageNo - 1)" aria-label="Previous" class="prePage">
                            <span aria-hidden="true">上一页</span>
                        </a>
                    </li>
                    <li class="disabled" class="nextPage" v-if="curPageNo<totalPages">
                        <a href="javascript:void(0)" @click="btnClick(curPageNo + 1)">
                            <span aria-hidden="true">下一页</span>
                        </a>
                    </li>

                <li v-if="curPageNo<totalPages" ><a href="javascript:void(0)"  @click="btnClick(totalPages)">尾页</a></li>
            </ul>
        </nav>
    </div>
</div>
